import request from '@/utils/request'

const chatRobotApi = {
  aiSearch: '/chatrobot/aiSearch'
}

/**
 * ai查询
 * @param {*} parameter 
 * @returns 
 */
export function aiSearch (question) {
    return request({
        url: chatRobotApi.aiSearch,
        method: 'post',
        params: { question }
    })
}